<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/hpt.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>3.1 Parametric 3D Surfaces: Theory</title>
<!-- InstanceEndEditable -->
<link href="stil.css" rel="stylesheet" type="text/css" />
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>

<div style="height:110px;background:url(bg.jpg) no-repeat top right;">
<div style="float:left;"><img alt="Fun3D Logo" src="customLogo.gif" /></div><div class="Naslov">FUN3D HELP</div>
</div>
<div class="navLine">
Search: <input type="text" id="search" />
</div>
<div class="navLeft">
<hr style="color:White; height:2px" /> 
<div> [Topics] [Index]</div>
<hr style="color:White; height:2px" />
<ol>
  <li><a href="index.html">About</a></li>
  <li>Parametric 3D Curves
    <ol>
      <li><a href="2_1.html">Theory</a></li>
      <li><a href="2_2.html">Creating</a></li>
      <li><a href="2_3.html">Properties</a></li>
      </ol>
  </li>
  <li>Parametric 3D Surfaces
    <ol>
      <li><a href="3_1.html">Theory</a></li>
      <li><a href="3_2.html">Creating</a></li>
      <li>Properties</li>
      </ol>
  </li>
  <li>Cellular Automata
    <ol>
      <li>Theory</li>
      <li>Creating</li>
      <li>Editing</li>
      <li>Properties</li>
    </ol>
  </li>
  <li>L Systems
    <ol>
      <li>Theory</li>
      <li>Creating</li>
      <li>Properties</li>
      <li><a href="5_4_SuportedRulesAndSyntax.html" target="content">Supported Rules and Syntax </a></li>
    </ol>
  </li>
  <li>ISO Surfaces
  <ol><li>Theory</li>
      <li>Creating</li>
      <li>Properties</li>
      </ol>
    </li>
    
    <li>Mesh objects
    <ol><li>Creating</li>
        <li>Properties</li>
    </ol>
    </li>
    <li>Scene Handling
    <ol>
      <li>Select</li>
      <li>Delete</li>
      <li>Navigation</li>
      <li>Load / Save</li>
      <li>Scene Properties  </li>
    </ol>
    </li>
  <li>Extras
    <ol>
      <li>Animation</li>
      <li><a href="9_2.html">Value Inspector</a></li>
      <li><a href="9_3.html">Supported Functions and Syntax</a> </li>
      <li><a href="9_4.html">Working with Parameters</a> </li>
      <li>Render State Properties </li>
      <li><a href="9_6.html">Coordinate Systems </a></li>
    </ol>
  </li>
  <li>Imports
    <ol>
      <li>.x File Import</li>
      <li>.3ds File Import  </li>
    </ol>
  </li>
  <li>Exports
    <ol>
      <li>3D Export</li>
      <li>2D Export  </li>
    </ol>
  </li>
  <li>Fun3D Links</li>
  <li>Feedback</li>
  <li>Licence</li>
</ol>
</div>
<!-- Page content -->
<div id="content" class="content"><!-- InstanceBeginEditable name="Content" -->
	<div class="heading1">3.1 Parametric 3D Surfaces: Theory</div>
	<div>
	  <p><img src="primer_1.jpg" alt="UV Surface" width="640" height="512" border="1" />	</p>
	  <p>Curves and surfaces can have explicit, implicit, and parametric representations. Parametric representations are the most common in computer graphics.</p>
	  <p><em><strong><img src="3_1_p1.jpg" alt="Klein surface" width="260" height="260" border="1" align="right" />Example:</strong></em></p>
	  <p><img src="4422995856512ecf9731e758422ff6ee.gif" alt="Torus function" width="456" height="75" /></p>
	  <p><em><strong>In Fun3D:</strong></em></p>
	  <p>X(u,v) = (3*(1+sin(v)) + 2*(1-cos(v)/2)*cos(u))*cos(v)<br />
	  Y(u,v) = -2*(1-cos(v)/2) * sin(u)<br />
	  Z(u,v) = (4+2*(1-cos(v)/2)*cos(u))*sin(v)</p>
	  <p><strong>See also:</strong></p>
	  <p><a href="9_3.html">9.3 Supported functions and syntax</a> </p>
	  <p>&nbsp;</p>
	</div>
<!-- InstanceEndEditable --></div>
<!-- Page content -->
<div class="navLine">
    &nbsp;</div>
    <p class="footer">Fun3D created by Bojan Mitrovic 2008-2010</p>
    
</body>
<!-- InstanceEnd --></html>
